From 71d1d0cafefd6c6f9c76fe77ad6eaddff61b31a7 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Sat, 13 Dec 2025 18:58:45 +0100 Subject: [PATCH] luci-base: propagate the multiple flag for RichListValue This allows disabling selection of multiple entries by removing all checkboxes from the dropdown list. Signed-off-by: Paul Donald (cherry picked from commit 66d0d6eeda9774f35b1b21f068668e94801d5e23) --- modules/luci-base/htdocs/luci-static/resources/form.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index c7308e2fba..f2f497a1fa 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -4094,6 +4094,7 @@ const CBIRichListValue = CBIListValue.extend(/** @lends LuCI.form.ListValue.prot size: this.size, sort: this.keylist, widget: this.widget, + multiple: this.multiple, optional: this.optional, orientation: this.orientation, select_placeholder: this.select_placeholder || this.placeholder, -- 2.30.2